package edu.practice;

import java.util.Scanner;
class stuff{
    private String number;
    private String name;
    private double price;
    public String getNumber() {
        return number;
    }
    public void setNumber(String number) {
        this.number = number;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public double getPrice() {
        return price;
    }
    public void setPrice(double price) {
        this.price = price;
    }
    stuff(String number, String name,double price ) {//带参的构造方法
        this.name = name;
        this.number = number;
        this.price = price;
    }
}
public class commodity {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String number = sc.next();//控制输入
        String name = sc.next();
        double price = sc.nextDouble();
        stuff a = new stuff(number, name, price);
        System.out.println(a.getNumber()+","+a.getName()+","+a.getPrice());//调用方法
    }

}